package com.cxw.demo111.model;

import javax.persistence.Id;
import javax.persistence.Table;

@Table
public class Emp {
  @Id
  private Integer id;
  private String ename;
  private Integer jobId;
  private Integer mgr;
  private java.sql.Timestamp joindate;
  private Double salary;
  private Double bonus;
  private Integer deptId;


  public Integer getId() {
    return id;
  }

  public void setId(Integer id) {
    this.id = id;
  }


  public String getEname() {
    return ename;
  }

  public void setEname(String ename) {
    this.ename = ename;
  }


  public Integer getJobId() {
    return jobId;
  }

  public void setJobId(Integer jobId) {
    this.jobId = jobId;
  }


  public Integer getMgr() {
    return mgr;
  }

  public void setMgr(Integer mgr) {
    this.mgr = mgr;
  }


  public java.sql.Timestamp getJoindate() {
    return joindate;
  }

  public void setJoindate(java.sql.Timestamp joindate) {
    this.joindate = joindate;
  }


  public Double getSalary() {
    return salary;
  }

  public void setSalary(Double salary) {
    this.salary = salary;
  }


  public Double getBonus() {
    return bonus;
  }

  public void setBonus(Double bonus) {
    this.bonus = bonus;
  }


  public Integer getDeptId() {
    return deptId;
  }

  public void setDeptId(Integer deptId) {
    this.deptId = deptId;
  }

}
